package com.tmt.paymentcenter.web.repository;


import com.tmt.datatable.ext.controller.ITmtBaseRepo;
import com.tmt.paymentcenter.web.domain.TradeUser;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import tmt.usercenter.web.domain.TmtUserRole;

public interface ITradeUserRepo extends ITmtBaseRepo<TradeUser, Long> {

    @Query("select t.id from TradeUser t where t.tmtUserId=:tmtUserId")
    Long findIdByTmtUserId(@Param("tmtUserId") Long tmtUserId);

}
